package April._30.homework.work4;

        import java.util.LinkedList;
        import java.util.Random;

public class Main {
    public static void main(String[] args) {
        LinkedList<Object> str = new LinkedList<>();
        Random random = new Random();
        for (int i = 0; i < 6; i++) {
            int j = random.nextInt(34);
            boolean add = str.add(j);
        }
        str.add(random.nextInt(17));
        System.out.println("str = " + str);
    }
}
